<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>挂失页面</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <script th:src="@{/bootstrap/js/jquery.min.js}"></script>
    <script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
</head>
<body>
<form class="form-horizontal" role="form">
    <div class="form-group">
        <label  class="col-sm-4 control-label">姓名:</label>
        <div class="col-sm-5">
            <input th:value="${uc.userName}" readonly class="form-control">
            <!--            <h4 th:text="${uc.userName}"></h4>-->
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-4 control-label">证件号:</label>
        <div class="col-sm-5">
            <input th:value="${uc.certificate_num}" readonly class="form-control">
            <!--            <h4 th:text="${uc.certificate_num}"></h4>-->
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-4 control-label">信用卡号:</label>
        <div class="col-sm-5">
            <input th:value="${uc.cardnum}" readonly class="form-control">
            <!--            <h4 th:text="${uc.cardnum}"></h4>-->
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-4 control-label">状态:</label>
        <div class="col-sm-5">
            <input th:value="${uc.status}" readonly class="form-control">
            <!--            <h4 th:text="${uc.status}"></h4>-->
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <a onclick="next1()" id="next1" class="btn-success btn btn-lg">下一步</a>
        </div>
    </div>
</form>

</body>
<script  th:inline="javascript">
    var msg1=[[${uc.cardnum}]];
    var ty1=[[${type}]];
    function next1() {
        $.post("/credit/toguashi2",
            "cardnum="+msg1+
            "&type="+ty1,function (data) {
                $("#tbody").html(data);
                $("#p-edu").attr("class","jingdu1");
            },"html"
        );
    }
</script>
</html>